package com.sharer.last.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sharer.last.base.model.BasePO;
import lombok.*;

import java.time.LocalDateTime;

/**
 * 博客分类
 *
 * @ClassName CategoryPO
 * @Author WangJin
 * @Date 2023/5/5 17:35
 * @Description
 * @Version 1.0
 */
@TableName("category")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
@EqualsAndHashCode(callSuper = true)
public class CategoryPO extends BasePO {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分类名称
     */
    private String categoryName;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
}
